chore: merge design-audit remediation changes#832
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (20)
📝 WalkthroughWalkthroughThis change updates sitemap and redirect contracts, search query handling, dashboard and services rendering, RAG RPC orchestration, Playwright behavior, and Supabase search schema migrations with corresponding regression-test expectations. ChangesSearch and route contracts
Dashboard and services UI
RAG and database
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
…sign-audit-merge-main-20260718-safe
CI triageCI failed on this PR. Automated classification of the 6 failed job(s):
Compared with main CI run #3205 (success). Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/components/DocumentViewer.tsx`:
- Around line 140-162: Remove the duplicate PdfCanvasViewer, NativePdfEmbed, and
PdfPreviewLoading declarations from the added block in DocumentViewer.tsx.
Retain the existing shared declarations from the earlier block and leave their
usage unchanged so each symbol is defined only once.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: f28490ec-68fe-4b31-9db0-5e287ac4ddc9
📒 Files selected for processing (1)
src/components/DocumentViewer.tsx
…260718-safe' into codex/design-audit-merge-main-20260718-safe
* fix: stop Escape focus restore from closing the app-mode menu Scope dismiss deferred a focus restore onto the answer-options trigger. When a mode-menu open landed in the same frame window, that restore stole focus, blur-dismissed the menu, and flaked the Documents mode switch in Production UI CI. Skip restore when the mode menu is open or focus already moved, and wait for the scope popover to hide before opening the menu. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com> * fix(test): fail closed when scope popover does not dismiss Only wait for the scope popover when it is visible, and let that wait throw if dismissal times out so the mode-menu open cannot recreate the Escape focus-restore race. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
A merge left PdfCanvasViewer/NativePdfEmbed/PdfPreviewLoading declared twice in DocumentViewer, which broke typecheck and the production build. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Scope: applies design-audit remediation merge commit (no-op on unresolved items).
Summary by CodeRabbit
New Features
Bug Fixes
Documentation